package com.goods.business.mapper;


import com.goods.common.model.business.ProductCategory;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ProductCategoryMapper extends Mapper<ProductCategory> {


    List<ProductCategory> categoryTree();

    List<ProductCategory> getParentCategoryTree();

    ProductCategory edit(Long id);

    ProductCategory selectByPid(Long id);
}
